Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / CalcHelper Class / Sum Method / Sum(Double[]) Method
The set of values.


In This Topic
    Sum(Double[]) Method
    In This Topic
    Returns the sum of all values in a set of values.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Sum( _
       ByVal values() As Double _
    ) As Double
    'Usage
     
    
    Dim values() As Double
    Dim value As Double
     
    value = CalcHelper.Sum(values)
    public static double Sum( 
       double[] values
    )

    Parameters

    values
    The set of values.

    Return Value

    A System.Double value represents the sum of all values.
    See Also